package Java.BlackHorse.File;

import java.io.File;

public class FileDemo2 {
    /*
    * public boolean isDirectory()
    * public boolean isFile()
    * public boolean exists()
    * */
    public static void main(String[] args) {
            File f1 = new File("File\\aaa\\a.txt");
        System.out.println(f1.isFile());
        System.out.println(f1.isDirectory());
        System.out.println(f1.exists());
    }
}
